package com.gxa.mapper;

import com.gxa.domain.dto.CarManageDTO;
import com.gxa.domain.entity.CarManage;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * User: gxb
 * Date: 2024/07/16  11:03
 * Description:
 * Version: V1.0
 */
@Mapper

public interface CarManageMapper {
    //插入车辆
    void insertCarManage(CarManage carmanage);
    //根据id查询一个车辆
    CarManage findCarManageById(Long id);
    //查询所有车辆
    List<CarManage> findCarManageAll();
    //修改车辆
    void updateCarManage(CarManage carmanage);
    //根据id删除一个车辆
    void deleteCarManageById(Long id);
    //查询页面数据
    List<CarManage> findCarManageByWhere(CarManageDTO carmanageDTO);

}
